package com.fu.web.mapper;

import com.fu.web.entity.doctor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface doctorMapper {
    int deleteByPrimaryKey(String doctorId);
    List<doctor> showALl();
    int insert(doctor record);

    int insertSelective(doctor record);

    doctor selectByPrimaryKey(String doctorId);

    doctor selectbyName(String name);

    int updateByPrimaryKeySelective(doctor record);

    int updateByPrimaryKey(doctor record);
}